'''
Created on 2012-10-23

@author: infear
'''
import unittest
import my_math

class Test(unittest.TestCase):


    def testSquare(self):
        for x in xrange(1,10):
            p=my_math.square(x)
            self.assertEqual(p, 1, str(p))


if __name__ == "__main__":
    #import sys;sys.argv = ['', 'Test.testSquare']
    unittest.main()